<table width="100%" class="tab_label" id="general_config">
    <col class="th" />
    <col/>
    <tbody>
    <tr>
        <th><?php echo $row['sitename']['info'];?></th>
        <td><input type="text" name="Form[sitename]" value="<?php echo $row['sitename']['value'];?>" class="input rounded w_4" /></td>
    </tr>

    <tr>
        <th><?php echo $row['sitelogo']['info'];?></th>
        <td class="rowform">
            <li><img class="view_pic" id="logo_box"  width="200" data-uri="<?php echo $row['sitelogo']['value'];?>" src="<?php echo $row['sitelogo']['value'];?>"><span><span></li><span style="color:red">[尺寸：200x85][格式：PNG]</span>

        </td>
    </tr>
    <tr>
        <th>修改LOGO</th>
        <td class="rowform">
            <li><span id="filePicker">修改LOGO</span></li>
        </td>
    </tr>

    <tr>
        <th><?php echo $row['site_wx_qr']['info'];?></th>
        <td class="rowform">
            <li><img class="view_pic" id="wx_box"  width="120" data-uri="<?php echo $row['site_wx_qr']['value'];?>" src="<?php echo $row['site_wx_qr']['value'];?>"><span><span></li><span style="color:red">[尺寸：255x255]</span>

        </td>
    </tr>
    <tr>
        <th></th>
        <td class="rowform">
            <li><span id="wxfilePicker">修改微信二维码</span></li>
        </td>
    </tr>
    <tr>
        <th><?php echo '官方微信';?></th>
        <td class="rowform">
            <input type="text" name="Form[weixin_nick]" value="<?php echo $row['weixin_nick']['value'];?>" class="input rounded w_4"/>
        </td>
    </tr>
    <tr>
        <th><?php echo '官方微博';?></th>
        <td class="rowform">
            <input type="text" name="Form[weibo_nick]" value="<?php echo $row['weibo_nick']['value'];?>" class="input rounded w_4" />
        </td>
    </tr>
    <tr>
        <th><?php echo $row['weibo_link']['info'];?></th>
        <td class="rowform">
            <input type="text" name="Form[weibo_link]" value="<?php echo $row['weibo_link']['value'];?>" class="input rounded w_4" />
        </td>
    </tr>
    <tr>
        <th><?php echo $row['weibo_qrcode']['info'];?></th>
        <td class="rowform">
            <li><img class="view_pic" id="wb_box"  width="100" data-uri="<?php echo $row['weibo_qrcode']['value'];?>" src="<?php echo $row['weibo_qrcode']['value'];?>"><span><span></li><span style="color:red">[尺寸：255x255]</span>

        </td>
    </tr>
    <tr>
        <th></th>
        <td class="rowform">
            <li><span id="wbfilePicker">修改微博二维码</span></li>
        </td>
    </tr>

    <tr>
        <th><?php echo $row['site_ico']['info'];?></th>
        <td class="rowform">
            <li><img class="view_pic" id="ico_box"  width="48" data-uri="<?php echo $row['site_ico']['value'];?>" src="<?php echo $row['site_ico']['value'];?>"><span><span></li><span style="color:red">[尺寸：48x48][格式：ICO]</span>

        </td>
    </tr>
    <tr>
        <th></th>
        <td class="rowform">
            <li><span id="icoPicker">修改站点图标</span></li>
        </td>
    </tr>

    <tr>
        <th><?php echo $row['company']['info'];?></th>
        <td><input type="text" name="Form[company]" value="<?php echo $row['company']['value'];?>" class="input rounded w_4" /></td>
    </tr>
    <tr>
        <th><?php echo $row['sitecity']['info'];?></th>
        <td>
            <select name="Form[siteprovince]" id="province" onChange="_showdistrict(['continent', 'country', 'province', 'city','district'], 3)">
                <option value="-1" did="-1">选择省</option>
            </select>
            <select name="Form[sitecity]" id="city" onChange="_showdistrict(['continent', 'country', 'province', 'city','district'], 4)">
                <option value="-1" did="-1">选择市</option>
            </select>
            <select name="Form[sitedistrict]" id="district" onChange="_showdistrict(['continent', 'country', 'province', 'city','district'], 5)">
                <option value="-1" did="-1">选择区</option>
            </select>
        </td>
    </tr>
    <tr>
        <th><?php echo $row['company_address']['info'];?></th>
        <td><input type="text" name="Form[company_address]" value="<?php echo $row['company_address']['value'];?>" class="input rounded w_4" /></td>
    </tr>
    <tr>
        <th><?php echo '旅行社经营许可证号'?></th>
        <td><input type="text" name="Form[licence]" value="<?php echo $row['licence']['value'];?>" class="input rounded w_4" /></td>
    </tr>

    <tr style="display:none">
        <th><?php echo $row['wap_url']['info'];?></th>
        <td><input type="text" name="Form[wap_url]" value="<?php echo $row['wap_url']['value'];?>" class="input rounded w_4" /> [选填，如有疑问，询问掌旅宝]</td>
    </tr>
    <tr style="display:none">
        <th><?php echo $row['wap_index_url']['info'];?></th>
        <td><input type="text" name="Form[wap_index_url]" value="<?php echo $row['wap_index_url']['value'];?>" class="input rounded w_4" /> [选填，如有疑问，询问掌旅宝]</td>
    </tr>
    <tr style="display:none">
        <th><?php echo $row['siteemail']['info'];?></th>
        <td><input type="text" name="Form[siteemail]" value="<?php echo $row['siteemail']['value'];?>" class="input rounded w_4" /></td>
    </tr>
    <tr>
        <th><?php echo $row['site_service_phone']['info'];?></th>
        <td><input type="text" name="Form[site_service_phone]" value="<?php echo $row['site_service_phone']['value'];?>" class="input rounded w_4"/></td>
    </tr>
    <tr>
        <th><?php echo $row['site_service_time']['info'];?></th>
        <td><input type="text" name="Form[site_service_time]" value="<?php echo $row['site_service_time']['value'];?>" class="input rounded w_4" /></td>
    </tr>
    <tr>
        <th><?php echo $row['extend_field_5']['info'];?></th>
        <td><input type="text" name="Form[extend_field_5]" value="<?php echo $row['extend_field_5']['value'];?>" class="input rounded w_4"/></textarea><span><font color="red">请直接填写关键词</font>，多个用半角逗号","隔开</span></td>
    </tr>
    <tr>
        <th><?php echo $row['complaint_call']['info'];?></th>
        <td><input type="text" name="Form[complaint_call]" value="<?php echo $row['complaint_call']['value'];?>" class="input rounded w_4" /></td>
    </tr>
    <tr>
        <th><?php echo $row['site_service_qq']['info'];?></th>
        <td><input type="text" name="Form[site_service_qq]" value="<?php echo $row['site_service_qq']['value'];?>" class="input rounded" size="50" />
            <span>多个号码使用半角逗号","隔开</span>
        </td>
    </tr>
    <tr>
        <th><?php echo $row['site_copyright']['info'];?></th>
        <td><input type="text" name="Form[site_copyright]" value="<?php echo $row['site_copyright']['value'];?>" class="input rounded w_4" /></td>
    </tr>
    <tr>
        <th><?php echo $row['site_phone']['info'];?></th>
        <td><input type="text" name="Form[site_phone]" value="<?php echo $row['site_phone']['value'];?>" class="input rounded w_4"/>
            <span>多个号码使用半角逗号","隔开</span>
        </td>
    </tr>
    <tr>
        <th><?php echo $row['notify_num']['info'];?></th>
        <td><input type="text" name="Form[notify_num]" value="<?php echo $row['notify_num']['value'];?>" class="input rounded w_4" />
            <span>多个号码使用半角逗号","隔开，<font color="red">号码用于接收短信通知，请填写正确的手机号码</font></span>
        </td>
    </tr>
    <tr>
        <th><?php echo $row['site_fax']['info'];?></th>
        <td><input type="text" name="Form[site_fax]" value="<?php echo $row['site_fax']['value'];?>" class="input rounded w_4" />
            <span>多个号码使用半角逗号","隔开</span>
        </td>
    </tr>
    <tr>
        <th><?php echo $row['site_record_num']['info'];?></th>
        <td><input type="text" name="Form[site_record_num]" value="<?php echo $row['site_record_num']['value'];?>" class="input rounded w_4"/>
        </td>
    </tr>
    <tr style="display: none">
        <th><?php echo $row['zizhu_mode']['info'];?></th>
        <td><input type="radio" name="Form[zizhu_mode]" value="<?php echo $row['zizhu_mode']['value'];?>" <?php if($row['zizhu_mode']['value']==1)echo 'checked'?> />简单模式 （自己计算成本录入成本价）
        </td>
    </tr>

    <tr>
        <th><?php echo $row['depart_citys']['info']?></th>
        <td>
            <div id="depart_list">
                <?php if ($depart_citys_list): ?>

                    <?php if (!$depart_citys_list[SITECITY]): ?>
                        <span><?php echo SITECITYNAME; ?>
                            <a alt="<?php echo SITECITY; ?>" title="<?php echo SITECITYNAME; ?>" class="del"></a></span>
                    <?php endif; ?>

                    <?php foreach ($depart_citys_list as $key => $val): ?>
                        <span><?php echo $val ?>
                            <a alt="<?php echo $key; ?>" title="<?php echo $val ?>" class="del"></a></span>
                    <?php endforeach; ?>

                <?php else: ?>
                    <span><?php echo SITECITYNAME; ?>
                        <a alt="<?php echo SITECITY; ?>" title="<?php echo SITECITYNAME; ?>" class="del"></a></span>
                <?php endif; ?>
            </div>
            <input type="button" value="增加" class="btn" id="sel_citys" data-uri="<?php echo site_url('/admin/shopconfig/depart_list')?>" title="添加出发城市">
            <input type="hidden" name="Form[depart_citys]"
                <?php if(strpos($row['depart_citys']['value'],SITECITY)===false):?>
                    value="<?php echo SITECITY.','.$row['depart_citys']['value']?>"
                <?php else:?>
                    value="<?php echo $row['depart_citys']['value']?>"
                <?php endif ;?>
                >
        </td>
    </tr>
<!--     <tr>
        <th><?php /*echo $row['site_shop_count']['info'];*/?></th>
        <td><input type="text" name="Form[site_shop_count]" value="<?php /*echo $row['site_shop_count']['value'];*/?>" validate="{number:true,rangelength:[1,2]}"  class="input" />
        </td>
    </tr>-->
    <tr>
        <th><?php echo $row['welcome_text']['info'];?></th>
        <td><textarea class="text-input textarea" name="Form[welcome_text]" rows="6" cols="60"><?php echo $row['welcome_text']['value'];?></textarea>
            <span>可以带链接代码</span></td>
    </tr>
    </tbody>
</table>
